package com.rd.student.ruanjian.class4.lichunquan.Text02;

import java.util.ArrayList;
import java.util.Random;

public class Test04 {
    public static void main(String[] args) {
        Random r = new Random();
        ArrayList arr = new ArrayList();
        ArrayList arrMax = new ArrayList();
        for (int i = 0; i < 10; i++) {
            arr.add(r.nextInt(100) + 1);
            if ((int) arr.get(i) >= 10) arrMax.add(arr.get(i));
        }
    }
}
